<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>添加用户</title>
    <script type="application/javascript" src="/js/jquery.js"></script>
    <script src="/bootstrap/js/bootstrap.js" type="text/javascript"></script>
    <script src="/layui/layui.js" type="text/javascript"></script>
    <script src="/js/custom/addUser.js" type="text/javascript"></script>
    <link href="/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css"/>
    <link href="/layui/css/layui.css" rel="stylesheet" type="text/css"/>
    <link href="/css/style.css" rel="stylesheet" type="text/css"/>
</head>

<body>

<div class="place">
    <span>位置：</span>
    <ul class="placeul">
        <li><a href="/index">首页</a></li>
        <li><a href="/addUser">用户管理</a></li>
        <li><a href="/addUser">添加用户</a></li>
    </ul>
</div>

<div class="formbody">
    <div class="formtitle"><span>添加用户</span></div>
    <form class="forminfo">
        <div class="form-group">
            <label for="userName">用户名</label>
            <div class="tempinput">
                <input type="text" class="form-control" id="userName" placeholder="请填写用户名">
            </div>
        </div>
        <div class="form-group">
            <label for="password">用户密码</label>
            <div class="tempinput">
                <input type="password" class="form-control" id="password" placeholder="请填写密码">
            </div>
        </div>
        <div class="form-group">
            <label for="password2">用户密码</label>
            <div class="tempinput">
                <input type="password" class="form-control" id="password2" placeholder="请再次填写密码">
            </div>
        </div>
        <div class="form-group">
            <label for="realName">真实姓名</label>
            <div class="tempinput">
                <input type="text" class="form-control" id="realName" placeholder="请填写真实姓名">
            </div>
        </div>
        <div class="form-group">
            <label for="phone">联系方式</label>
            <div class="tempinput">
                <input type="text" class="form-control" id="phone" placeholder="请填写联系方式">
            </div>
        </div>
        <div class="form-group">
            <label for="role">用户角色</label>
            <div class="tempinput">
                <select class="form-control" id="role">
                    <option value="">请选择用户角色</option>
                    <option value="1">超级管理员</option>
                    <option value="2">老师</option>
                    <option value="3">宿舍管理员</option>
                    <option value="4">学生</option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label for="remark">备注</label>
            <div class="tempinput">
                <textarea class="form-control" rows="3" id="remark" style="height: 100px"></textarea>
            </div>
        </div>
        <div class="tempinput">
            <div class="text-right">
                <button type="button" class="btn btn-default" onclick="addUser()">确认提交</button>
            </div>
        </div>
    </form>
</div>
</body>
</html>
